import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 配置1
import { resolve } from 'path'
// https://vitejs.dev/config/


export default defineConfig({
  // 配置2
  base:"http://localhost/",
  resolve: {
    alias:{
      "@":resolve(__dirname,"src"),
      "comps":resolve(__dirname,"src/components"),
      "apis":resolve(__dirname,"src/apis"),
      "views":resolve(__dirname,"src/views"),
      "utils":resolve(__dirname,"src/utils"),
      "routes":resolve(__dirname,"src/routes"),
      "styles":resolve(__dirname,"src/styles"),
  
    }
  },
  plugins: [vue()]
})